import { request } from '@/utils/request';
export function getFatigueSeatInfoPage(id: string) {
  return request.get({ url: `/fatigue/fatigueSeatInfoPage?id=${id}` });
}
export function getPvtData(id: string) {
  return request.get({ url: `/fatigue/getUserPVT?userId=${id}` });
}
export function getMemoryData(id: string) {
  return request.get({ url: `/fatigue/getUserMemory?userId=${id}` });
}
export function getAssessmentData(id: string) {
  return request.get({ url: `/fatigue/getUserFatigueScale?userId=${id}` });
}
export function getJournalByPersion(id: string) {
  return request.get({ url: `/fatigue/getJournalByPersion?seatId=${id}` });
}
export function getUserInfo(id: string) {
  return request.get({ url: `/user/getById/${id}` });
}